package com.lz.ssm.domain;

public class B {
    private Long id;
    private String name;
    private int age;

    public String getName() {
        return name;
    }
     public String getJson(){
        HashMap map = new HashMap();
        map.put("name",name);
        return JSON.toJSONString(map);
    }
}
